<?php
/**
 * author: yunshu
 * create: 18/3/1
 * description:
 */

namespace app\common\validate;


class PagingParameterValidate extends BaseValidate
{
    protected $rule = [
        'page'  =>  'require|isPositiveInteger',
        'size'  =>  'require|isPositiveInteger',
    ];
    protected $message = [
        'page' => 'page必须为正整数',
        'size' => 'size必须为正整数',
    ];
}